Skip to content

Conversation

@jacksontong
Copy link
Contributor

When I pressed F5 to start the debug, I got this error Failed to launch: invalid debug configuration - cannot unmarshal bool into "env" of type string

I changed CGO_ENABLED value from 0 to "0" then it fixed the issue.
golang/vscode-go#2206

Copy link
Owner

@qdm12 qdm12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome. That drove me mad locally for a good 30 minutes, but forgot to push it. Thanks for the fix!! 👍

@qdm12 qdm12 merged commit b33d914 into qdm12:master Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants